//
//  ImportantSelectVC.m
//  NeteaseNewsLY
//
//  Created by dllo on 16/1/22.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ImportantSelectVC.h"

@interface ImportantSelectVC ()
@property (nonatomic, copy)NSString *url;
@end

@implementation ImportantSelectVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    // 导航条带的首页 让他消失
    [[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -64 * HEIGHT) forBarMetrics:UIBarMetricsDefault];
    
    UIWebView *wv = [[UIWebView alloc] initWithFrame:CGRectMake(0, HEIGHT * -64, WIDTH * 375, HEIGHT * 667)];
    [self.view addSubview:wv];
    [wv release];
    // 加载网址
    self.url = self.str;
    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_url]]];
    [_url release];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
